changed logging from trace to debug
added exit and entry log statements to just about all methods