drying templates, cleaning up a bit