TF matching 2nd level

limo_random_select subroutine ; not finished though