adding networkReceiver class