adds missing variable