debugging client code