Algorhythm - from pain to treatment