check for console