deleted public fdactivity function and a string in fdactivity