fixed issues with test1b, moved function name logic off into a separate process