local maps = require "maps"

when you do require, it is actually a function call. in this case, once you make the change in maps.lua, you essentially assign a variable called "maps" to whatever maps.lua returns. in our case, a table with fields level1, level2.