added NotNil method