changing minus to eliminate warning