ran out of gas on 2009 Sportsman 500 HO Carb ATV and would not restart

Problem ran out of gas on 2009 Sportsman 500 HO CARB ATV and would not restart.

Actually , I figured it out but thought I would post it here since when I searched before I saw a similar solution , but not the same:

To restart, took off air cleaner, sprayed carb cleaner down intake snorkel while controlling start key while someone else held throttle slightly open. Kept spraying puffs to keep engine running at slightly open throttle. Started on choke and got engine to run for a while this way. Took choke off and did again – added puffs to keep it running and eventually it was running itself. Kept throttle open a little to run at a medium-high RPM (did not look at RPMs) to make sure fuel was priming. To help keep carb cleaner in the snorkel,elevated the back tires on blocks so would run towards carb as sprayed.

Apparently fuel pump lost prime. Prior to doing this cranked many times to no avail. I did get a few chugs when I had on choke. I was afraid I was flooding, but was not getting fuel