back-end- TS Solution