I'm not sure I understand this line. Didn't you already define scale on line 47?