Use strtol instead of atoi