going back to unary ~ operator
removed extraneous semicolons