scala setting