add list, outopt, and prepdata code; first try of list code with hard-coded call