added stuff for demand dialling and compression