added ValueWritable class