working namespace handling