small edit to code