HUGE MESS! ... but lookahead finally works 8-)))