added namespace functions to libraries