begin using command struct