How I had the opportunity to solve the same problem twice, and what I did to optimise the solution the second time around.