added array object mastering code