Added another case with some print statements for debugging.