chain network functions