added function and parameter last edit
will not select the same one
added resource of entry to persist
persist while add new entry and draw winner