adding channel param to getstate