add memo to ts