add namespace
move inline decllaration to definition~