Got rid of unnecessary initializion inside the populate function.