with error alerts