first crack at template