added a function to populate list
added a function to populate list
Small changes