fight OS fights
whitespace acrobatic to improve readability, improved error handling