adding metrix library