old database inserts