dynamic creation of text element based on hover