figured out how to get around the innerHTML debacle