corrected new inputlist building
tidy up