add printout and alert