read 2dtemplates