filling out database for presentation