added options for priority