instead of creating a new local, we just return the settings as a table