read stmt works