Changed goal type to incorporate allowed actions