macro to number of scales added