made wal mode optional