template for main screen