Second case for converting strings to int