Change params list to hashmap
Change "new ArrayList" to "Lists.newArrayList"