network basic; minor inputs bug corrected