First version using ejs