select is working somehow