database and note