1. Bit logic