added db inserts