it removes the error when you return it separately but what about await function it says 'await' expressions are only allowed within async functions and at the top levels of modules.ts(1308)