rendering search results & sorting, pagination, course count