console and alert