box dynamics