Added zent_collide function