junk code for basic animation