removed call to getvalue