This loads the entire list of countries every time, and just selects a group of them through Javascript. The idea of the assignment was to selectively load only the needed countries using limit and offset parameters. Imagine how impractical this approach would be if we had something like 500,000 items in the database.