removed all references to tr1 since c++11 includes its features