added criteria in text form