implementaion of differnt network model