added some feedback mechanisms for debugging