private constructor was moved to the end of the class