added console to view answer