attempting to fix motor logic