for some reason this commit, RandomNumber function is borked, think it might have something to do with my main.c file code