only pass in the data object