support shorthand syntax