Block modified for input, prop def have 2 param