assign scanner pointer and then pass to channel