Added custom string to int conversion