some changes for animation