clean code for strain template