add toggle mod method