adding first parts of model