adding activity method to Material

*sigh*

I should just write my own text editor....