exmaple for joinmodel.delete