updated to use new settings methods