used a partial in HackerNews, made the code a little less repetitive