slim down the main entry point