same thing about using return instead long if else would imho make the code a bit more readable.