database and content provider