i couldn't figure out why i was getting a "Sub Main was not found" error, and realized it was because i had declared a string called 'Main'. everything was fine after i changed the name.