split two modes

split two modes