progress on approach of modifying metadata method
revert back from this approach