First version of the take-home exercise