added exports, renamed functions (Array - Obj)
Refactor to work with new function names
update example to use new function name