select should be map in this case