made changes suggested by Gayle et al.