Formatted call to main function