Made some progress towards pulling data from DB