try to create activate func