insert exceptions handled