Removed testing code from network model