adding activity method to Material

I think the '-----' should be at the same indent as returns