switch input -> start and output -> finish
Merge pull request #3 from cordoval/master

switch input -> start and output -> finish