add Master-Worker Pattern