new logic of animate