replace interface with namespace