swapped to use ejs