begun implementing geometry predicates