changed java.util.List extension to return ArrayList