slight changes  made