removed extra priority param