Comparison with Patrik

Added comments to make it easier to compare the two versions