added return in void function without return, iloc still isn't generating completely