need to update this example because it's a bit confusing and the new methods on object make things a bit easier