modified parseMultiple conditions