trying to smoothen the animations part2