added better comments to source