print debugging methods, incomplete