asign reader code