adding function samples