First implementation of the assignment.