fixed - superfulous "|| undefined" in the definition.