NOTE: it's NPL-specific because of hardcoded branch info -- this could be fixed with a query for branches.