more work on function objs