still working on object function.