Looks like this needs some cleanup. You probably want to use the `payload` values, right?