[#10] adding debugging