added model detail to template