use block to receive number user picked