put all in model