adding prints for debug