put list of extensions in a list.