before mucking around with mongoose