removed d and scheme