Working on deletes and inserts