String calc for hug