database retrieval being fleshed out