hm ok, thank you. I didn'T noticed that I defined it as int.
Controled everything, but the type of the variable X/