made slight changes