for some reason it did not work otherwise. std classes definition added