implemented pub/sub pattern for online quotes