initial version pulling from DB