small improvement

It's better to save the int-value in the tuple, otherwise I'd have to cast everywhere I need the int.