basic structure, only querying database for content