wait, main is a terrible idea