removed logging added for debug.