put and get methods for string and int64