converting lists back to KIL