pass namespace into view