added activated variable