added function examples