getter instead of direct variable access