Added rotate and object creation