Made a slight code modification