changed exit return value to 0