make several functions and variables private