new data functions class