added revised db
added new_goal method