had to change this back because it failed to compile
when I had the -std=c++0x flag set