add printout and alert in regard to input