working version of template can be discarded