Got priorities working