declared missing variable res