before machine fails
created a helper for network tasks