now command sent as a object instead of array