all LONG values use atol instead of atoi - could possible lead to crashes