Add priority in model