maybe this gnarly conditional will work