adding WAL