added implementation of ListUtils, minor changes