changed return variables to match with goal.py