implemented isActive, for now it is not used in the constructor's argument and the default value is true