finish models and add constrains