work on sample metadata