add swap setting