priority is a integer when posting in postTask