use getter instead of static access