added constraint network struct