work out a few defaults