added console refresh