convert from ? notation to more concise || notation
use decorator