changed strings to numbers