add code
a debug version