input control

added input control system