toInt option added instead of int