formatting and animating