make set/get as public functions