task three, main branch, passes unit test