multiple return value type checking, return from