added a check for populate