something not working. moving to pubsub