include newest lite weight latch code.