Got rid of string function, do it with the maths.