What's the if doing here? This won't always a return a value.