! calculateScale requires config passed as an arg