adds examples for component methods