use explicit return statement for clarity, as suggested by @vtjnash