modifications to animation