removed uneeded if statement.