added function/example