metadata input stream