changed it to an array of Commands to iterate over.