tp4 - TS Solution