trying to get object data to browser.