ideas from elsewhere - sward