arrange templates to make use of a main template
add location verificaton