adding activity method to Material

I'm appreciative of picky because I need to learn! But I haven't a clue as to what you're talking about. Is it that there is an extra space above and below the function?