insert passes cmd and row to pushCommand