add debugging functions