added missing method in alloc query builder