console information and alert added