found int to str function, but timeElapsed is still 0, not sure where the root of the error is, also seems to crash with hardware error / badoffset when it loops, but it crashes without anything in the while(1) loop running first