Changed priority to int