refactor in IntListWritable