LAI-5 Input and Ouput processing refinements