comment out debugging and add check for proper kogan bits