Added single rot algo