Updated code for animations