removed and wrote some comments