add getter checks.