added missing return type definition