changed style and drawing rotation and translation