added console stuff