set up data passing