updated TS definitions