Can you add some comments to the code that explain it better?