5 - TS Solution