add namespace and iostream