remove old func populate