typedefs and command structs for UR