added method with prio