Animation routines done for CPU anim.. but not working yet