put the template in a seperate file