new attempt at getting the animate entry correct (code formatting)