Made more progress on the logic circuits