use the object pattern we've been using