replaced case string attribute with a boolean attribute