operations on functions part 2