added simple readMetaData method