implementing addTerapy feature