Initial attempt at optimising day 23