Fixed animation. Added exception class.