scale randomness correctly and parse timing and priority to ints