added a multiple function example