added stuff for compression and demand dialling;