edits to code