used ejs;added template