get metadata locally