introducing binary mapping