adding timing vars and changing animations