added goal
added end flag