swap question element working