animate and validate