adds template by Herasymenko