add rotation to shapes