added setting the attributes
corrected states for MRC