add data parser and compare condition