impelments animation with the new controller