task 2 complete with bugs