Modification to allow for use with objects and pass of object property to use as the display object