added some comments yo