work on written problem part 1