updated namespace function
added example for private members
[ formatting ]
Small update