simplified the main route