Completed methods problem 2