put properties of new Animation() into a table
clean up of codes