refactored some TS for the results page for readability.