now rotation works fine