added namespace to constructor