add animation hooks