added toInt cast function