added namespace option much more elegant