distributed into templates