added goal and unit test