move reader code here