note to self: add comments to code