Added half of rotation logic