Simply main function.