handling poi with two categories