you can also use Guava's Lists.newArrayList here