add comments to ImageEdit.java