very not a fan of hardcoded inline html building. Is there a way to make this a template file that we load in, instead.