remove redundant std call
move into main cxx