Added base animate logic