added implementation for getter/setter