replaced getter by const