correct creating nested lists