latest work. delays kind of working, need to establish active/deactive states