template reworked from lw_te to lw_view