change in animation
code cleaning
delegate method added