What is the process for determining which procedures need to be written first?