added priority optional param to docs