add blk_to_x method and device to dump arguments