added parsing of compound predicates