finished order entry for goal first and goal second add more functionality