added quiz for functions