Part one of assignment