one_iteration no longer returns results object

add some comments
add comments to potentialfunction