impled get and set Value