split code from steps.txt