add idea for matching stream
remove using namespace