atoi version 2