revert console logic, not yet finished work