modify main input