Code

use atoi for char* -> int conversion