changed pettypes call