exercise ldd test code for training