added animate and improved actions