models and local settings defined