implemented return string isActive for toString