LOL changed isDeactivated to !isDeactivated in the loop