assign tx to command