Pass object using data property