added patient heading variable