added kiss metrics code...