Implemented populate.js