renamed pow10 variable to prevent symbol clashes