add printout and alert regarding empty input