correct code to dmd 2.065