adding activity method to Material

Too many spaces