wal

magic numbers! Can you define 10 and 1 as consts for now? (I assume at some point they will become configurable)