reversed the to_b for numbers