minor change to the code