add sample 'calc0' of D