working through ejs ch. 5