introduce class for global getter