adding command visitor