removed legacy code template