removed lif_op, simpler and faster now