First cut at a D ... implementation