populate method