forgot to extend temp variable range