@rajatagr I'd use this pattern: