added call to atoi