adding activity method to Material

unnecessary spaces