Added State and filechannel