wrote documentation for WAL