tidy
asynchronise template rendering