Use let function to remove some repetition in title