changed immutlbe to isImmutible