enable==0 -> !enable
moved code block to the tail