Add rotation support
Providing starting point and ending point