statfunctions class to add