Passed structures into petpen and assigned variables in petpen