add valiable mode
delete only tryangle method