needed manifest in apply() for Query