Added namespace functions

Added namespace functions