Added comments to explain the code somewhat

Signed-off-by: bla <bla@fuckyoudontspammyemailovereverything.com>