correctly catch null payloads
add region (needs testing)
params in db