check for inserts