added more loggingto various SubVIs