added auto select