Change endMission method.
clean code.