Adding reader code