implemented basic network