added an extensible to check if a goal has been achieved