Generate the right ticket