Changed console to HTML