functions added

some examples added