Working to correct changes to rotating logic.