Preliminary NOT functionality added