Initial working version for model building
testing