added missing namespace & inline