Add metric method