template working v.2 -pending testing