added demultiplexing mechanism for metadata lookups