Added rudimentary support for two lists