Shouldn't we also fail in case of an error here?