finished Settings.java