category and db notes