Work in D

Modified