adding comments to make app more readable