Global template 

Don't you need this to know the top offset of `main`?