implemented pulling fundamental variables from the database