add printing debug