Tele Mat Gram
further migration to typescript