removed int_lists and added a better way to validate lists of elements