replaced lookup table, added second input widget