added print to catch invalid case connections