~ Updated checkResponse to make sure there is both an error text & error code
~ Fixed typo on decremnt function
~ code clean (very little)