added main, the only code I'm actually proud of