added console class