remove animate function