Added comments to debug