copy pasted main and NMNactivty