support nested list for issue #5