Functional Input Loop Driver

Now with functions!