completed allergy display, requires reorganising the display, and cleaning up the code