Change syntax of not to ~