add new function to twenty_on/off.py(not tested)