allowing accessor without setter function