use view defined in main_template instead of redefining them