add geter for value