added functions to namespace