Removed hard functional. Added populate_model method