previous change was not working so modified it