support for empty lists implemented