added init message receive
created BagScanner