Added comments to Alex code