first working version of component behavior
regression was not starving animals
fixed indent