Add command pattern