make animation work