added inverted bits