added gender inclusion for the pet model