Added comments
Implemented namespace function