renamed select to list and map