better list flattener