issue 18 by peregrine