Added required instance variables to the goalpost class