added basic support for lists