Added command pattern