Pseudo code on blocking.