removed all metadata stuff. If we ever need this, we can come back here
and look how it was implemented