added activate method