both console and html