Selection is working perfectly now (finally)