removed line-continuation, seemed to be fouling regex
updated to += and -= for increment/decrement functions
removed sys as it was unused