had to fix namespace issue for using un-exported sunFuncs function