add sub branch function
sub master merge