changes strol to atoi