removed logs, added some comments for the question posting