initialize net