update logic to better reflect preimage options