inverting signals to match 74ls00 buffer, renaming