smc in D now compiles and run