#25 setvalue function working as required.