Working on kqueue - not working yet