added console output