moved text displays to the HTML