Logging in example complete

going to make the application take the operation to complete as an
argument, don't have to worry about things as much then