Complete part1 for ex1