added notes to db and tried fethcing them with a query