found solution for selection