added rotation to renderer