populate and select