part 1 of assignemnt