moved operations to mpCmd