continuous input prog