automatic templates

some more visibility for the magic that I did not know was there