refactored network class to prepare for fake lag