Started with return statement treatement for main function.