don't use main in a context where there is no require