restrucutred locking to a channel based mechinism