namespace functions (sort of)