changed processData parameters to reflect changed cell states instead of click inputs