updated to single inserts