add pubsub, improve css