A 48 year old man presents with retrosternal burning after large meals and when lying flat. He denies weight loss, dysphagia or bleeding. Lifestyle measures and a 2 week trial of a proton pump inhibitor have partially relieved symptoms. What is the most appropriate next step?