work on better behavior of selection