about to turn all animate functions into single object