changed activity input for adding material