small change in the code