working on metric edit feature