added extra line for formatting
fixed bug in main routine