Uncomment populate function
comment out populate for now and add debugging