done of metric parser