add both mode