added function call sample