fix $.Function
wip iterator