Solved assignment.