wrong scope, didn't compile with gcc