added exitStatus()