added animal assignment