Invoking main to make sure it runs smoothly