modify reddit code