updated activate function
updated activate function
spelling error