add function for select multi location