completed 3 of the methods assigned to me