updated template according to changes in statica