Implement custom network generation