changed findAll to fetchAll to use promises