Revert "added first complete complex function, fixed issues in setResultsName"

This reverts commit 7024f6b1221b38c8e71bcb52e4bbfe54028c58c0.