removed an if statement, increased performance.