add priority and inword option