Examples

Added examples to function