added the convertString function and the small number function allong
with the connecting returns and outputs