change array to object to try and fix mastercal error