added rotation attribute to things