#18 add debug