added code for debugging