privatized a number of functions