Justin's solutions