module to implement efficient mapping tables
