select is working, working on critical section safety with ISR