Added some comments to Paulik code