updated home.ts file