finished file with hist vector in create class