passing state