metadata
almost fully working