add match and read function