Experiments with D code