removed old rotate metho