added getSettings method