Added not-finished rotate function