crap i need to handle 'main'