added joins model