added z rotation