string to int is obsolete