removed console and alert