implemented branch command; first working demo with insert/select