updated to include data binding to finlize pubsub