randomize number, polish layout