Added support for multiple list

Fixes #2