namespace for toggle fct
add first solution to enhance for #27, fixed #27