use better syntax for Base.convert