setting up data object